|
Foxit PDF SDK
|
Public 成员函数 | |
| def | AccessibilityNavigator (pdf_doc) |
| 构造函数。 更多... | |
| def | FindNextElement (page_index, find_type, is_search_page) |
| 查找下一个元素。 更多... | |
| def | IsEmpty () |
| 检查当前对象是否为空。 更多... | |
| def | StartFindNextElement () |
| 开始查找下一个元素。 更多... | |
| def | StopFindNextElement () |
| 停止查找下一个元素。 更多... | |
静态 Public 属性 | |
| e_FinderTypeArtifacts = _fsdk.AccessibilityNavigator_e_FinderTypeArtifacts | |
| 查找器类型:人工元素(页面人工元素)。 | |
| e_FinderTypeInvalid = _fsdk.AccessibilityNavigator_e_FinderTypeInvalid | |
| 查找器类型:无效。 | |
| e_FinderTypeOcrSuspects = _fsdk.AccessibilityNavigator_e_FinderTypeOcrSuspects | |
| 查找器类型:OCR 检测到的疑似项。 | |
| e_FinderTypeUnmarkedAnnots = _fsdk.AccessibilityNavigator_e_FinderTypeUnmarkedAnnots | |
| 查找器类型:未标记的注释。 | |
| e_FinderTypeUnmarkedComments = _fsdk.AccessibilityNavigator_e_FinderTypeUnmarkedComments | |
| 查找器类型:未标记的批注。 | |
| e_FinderTypeUnmarkedContent = _fsdk.AccessibilityNavigator_e_FinderTypeUnmarkedContent | |
| 查找器类型:未标记的页面内容。 | |
| e_FinderTypeUnmarkedLinks = _fsdk.AccessibilityNavigator_e_FinderTypeUnmarkedLinks | |
| 查找器类型:未标记的链接。 | |
此类用于让用户逐个遍历 PDF 文档中的可访问元素,用于在可访问性检查/修复 UI 中驱动"查找下一个元素"的导航功能。 在使用此模块中的任何类或方法之前,请确保已通过 FoxitPDFSDKPython3.Library.Initialize 函数并使用包含 "Accessibility" 模块的密钥成功初始化福昕 PDF SDK。
| def FoxitPDFSDKPython3.AccessibilityNavigator.AccessibilityNavigator | ( | pdf_doc | ) |
构造函数。
构造函数,使用另一个导航器对象构造。
| [in] | pdf_doc | 有效的 PDF 文档对象。 |
| [in] | other | 另一个导航器对象。 |
| def FoxitPDFSDKPython3.AccessibilityNavigator.FindNextElement | ( | page_index, | |
| find_type, | |||
| is_search_page | |||
| ) |
查找下一个元素。
| [in] | page_index | 页面索引。 |
| [in] | find_type | 查找器类型。请参考从 FoxitPDFSDKPython3.AccessibilityNavigator.e_FinderTypeInvalid 开始的值,本参数应为其中之一。 |
| [in] | is_search_page | 是否搜索页面。 |
| def FoxitPDFSDKPython3.AccessibilityNavigator.IsEmpty | ( | ) |
检查当前对象是否为空。
当前对象为空时,表示当前对象不可用。
| def FoxitPDFSDKPython3.AccessibilityNavigator.StartFindNextElement | ( | ) |
开始查找下一个元素。
| def FoxitPDFSDKPython3.AccessibilityNavigator.StopFindNextElement | ( | ) |
停止查找下一个元素。